package com.zmn.oms.business.interfaces.comment;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.common.vo.KVDict;
import com.zmn.oms.model.dto.comment.OrderCommentDTO;

import java.util.List;

/**
 * 类描述：订单评价
 *
 * @author lujia
 * @date 2019/01/23 20:26
 */
public interface OrderCommentBService {

    /**
     * 保存评价
     * @param orderCommentDTO
     */
    void saveComment(OrderCommentDTO orderCommentDTO) throws OmsBaseException;

    /**
     * 保存第三方评价
     * @param orderCommentDTO
     */
    void saveThirdComment(OrderCommentDTO orderCommentDTO) throws OmsBaseException;

    List<KVDict<Integer>> listLabelConfigByBizTypeAndStar(Integer bizType, Integer businessLine,Integer score);
}
